home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
hardware
/
host.arc
/
HOST.DOC
< prev
next >
Wrap
Text File
|
1989-01-31
|
4KB
|
85 lines
HOST.BAT by Hale Pringle, University of Central Florida, LAN Institute
PURPOSE
This batch file and associated small program files can be used to run Carbon
Copy (or PC Anywhere or Remote or ....) so that during normal office hours
your phone rings normally (allowing a secretary or answering service to
answer it.)
After hours the remote communications software is installed and the modem
answers the phone.
The modem answers the phone on weekends and the PC will reinstall Carbon
Copy if you lock the PC, but are still able to reboot it.
Reboots during office hours will not install Carbon Copy.
It is assumed that you know how Carbon Copy or PC Anywhere operates.
FILES
This ARCed file contains Four files
HOST.DOC - This file
HOST.BAT - A batch file for installing in a root directory
REBOOT.EXE - A small file which reboots a PC. In this case it also resets
a modem so that it will not answer an office phone.
WAITUNTL.COM -A public domain program which waits until a PCs clock reaches
a specified time.
DAYCHK.ARC -A program (DAYCHECK.COM) and associated doc & demo files). This
public domain program uses errorlevel to allow batch files to
tell what day of the week and what time it is. This was
written by Rob J. Rosenberger (74017,1344) and downloaded from
CIS go IBMSYS, library 3.
INSTALLATION
Install Carbon Copy in a subdirectory call CARBON under the root of your C:
drive. Copy HOST.ARC into this subdirectory. Use ARC-E or PKUNPAK
to uncompress these files (you will need to uncompress DAYCHK.ARC once
you extract it from HOST.ARC.) HOST.BAT needs to be copied to the root
of your C: drive. (I assume that the root of your C: drive is in your path
so that when you type HOST, DOS can find HOST.BAT. If you place it some-
where else, change the COPY HOST.BAT C:\CARBON\DOCC.BAT to that it can find
HOST.BAT.)
You will need to place one line at the end of your AUTOEXEC.BAT file. This
line is IF EXIST C:\CARBON\DOCC.BAT HOST
OPERATION
When you get ready to leave your office type HOST and press return. The
system will boot and either install Carbon Copy and initialize the modem or
wait until 6:00 pm and then it will install Carbon Copy. The PC will
automatically reboot the next morning and 7:00 am and wait for you or for
6:00 pm so it can reload Carbon Copy. You will need to press CRTL BREAK to
exit the batch file.
The only time you will need to do something special is when you boot your
PC from your office at night and DO NOT want Carbon Copy to load. It will
prompt you to erase C:\CARBON\DOCC.BAT. After you erase this file, your
PC will not automatically load Carbon Copy until you type HOST again.
WARRANTIES
Obviously this is submitted for you to use at your own risk 'as is' or as a
model for something that suits you better. I don't guarantee that it
will meet your needs and take no responsibility for any problems that might
be caused by its operation. I do guarantee that I will do my best to fix
it if a problem or short coming is discovered.
Hope this works for you. It has been enhanced over what I have used in the
past at the request of several people on CIS. (I was using the WAITUNTL
and had a special batch file for weekends.)
Send me an EASYPLEX message a 76666,3166 if you discover a problem or wish to
leave a comment.
--Hale Pringle